Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create OCM share from sciencemesh service #3695

Merged
merged 10 commits into from
May 4, 2023

Conversation

gmgigi96
Copy link
Member

@gmgigi96 gmgigi96 commented Mar 1, 2023

As in the recent refactor of the OCM service the endpoint /ocm/share was removed, this PR re-add it back.

Closes pondersource/sciencemesh-php#166

@gmgigi96 gmgigi96 requested a review from a team as a code owner March 1, 2023 08:13
@cs3org cs3org deleted a comment from update-docs bot Mar 1, 2023
glpatcern
glpatcern previously approved these changes Mar 1, 2023
Copy link
Member

@glpatcern glpatcern left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@michielbdejong now /ocm/send is /sciencemesh/create-share !

michielbdejong
michielbdejong previously approved these changes Mar 1, 2023
Copy link
Contributor

@michielbdejong michielbdejong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Maybe you can double-check that this endpoint returns a 401 when you hit it without any authentication.

internal/http/services/sciencemesh/sciencemesh.go Outdated Show resolved Hide resolved
internal/http/services/sciencemesh/share.go Outdated Show resolved Hide resolved
michielbdejong pushed a commit to pondersource/oc-sciencemesh that referenced this pull request Mar 2, 2023
@glpatcern glpatcern dismissed stale reviews from michielbdejong and themself via 0ce87ae March 16, 2023 15:09
@michielbdejong
Copy link
Contributor

FYI I merged this branch into https://github.com/cs3org/reva/tree/sciencemesh-dev

Copy link
Member

@glpatcern glpatcern left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As there were no objections, let's go ahead and fix the authentication as discussed, and then we merge this.

internal/http/services/sciencemesh/sciencemesh.go Outdated Show resolved Hide resolved
internal/http/services/sciencemesh/share.go Outdated Show resolved Hide resolved
internal/http/services/sciencemesh/share.go Outdated Show resolved Hide resolved
gmgigi96 and others added 5 commits May 4, 2023 09:10
Co-authored-by: Giuseppe Lo Presti <giuseppe.lopresti@cern.ch>
Co-authored-by: Giuseppe Lo Presti <giuseppe.lopresti@cern.ch>
Co-authored-by: Giuseppe Lo Presti <giuseppe.lopresti@cern.ch>
@gmgigi96
Copy link
Member Author

gmgigi96 commented May 4, 2023

As there were no objections, let's go ahead and fix the authentication as discussed, and then we merge this.

The PR is now ready

@glpatcern glpatcern merged commit 8957d89 into cs3org:master May 4, 2023
gmgigi96 added a commit to gmgigi96/reva that referenced this pull request Jun 5, 2023
* create share from sciencemesh service

* make /create-share unprotected

* add changelog

* fix linter!

* Update internal/http/services/sciencemesh/share.go

Co-authored-by: Giuseppe Lo Presti <giuseppe.lopresti@cern.ch>

* Update internal/http/services/sciencemesh/share.go

Co-authored-by: Giuseppe Lo Presti <giuseppe.lopresti@cern.ch>

* Update internal/http/services/sciencemesh/sciencemesh.go

Co-authored-by: Giuseppe Lo Presti <giuseppe.lopresti@cern.ch>

* removed old code

* fix import names

---------

Co-authored-by: Giuseppe Lo Presti <giuseppe.lopresti@cern.ch>
gmgigi96 added a commit to gmgigi96/reva that referenced this pull request Jun 28, 2023
* create share from sciencemesh service

* make /create-share unprotected

* add changelog

* fix linter!

* Update internal/http/services/sciencemesh/share.go

Co-authored-by: Giuseppe Lo Presti <giuseppe.lopresti@cern.ch>

* Update internal/http/services/sciencemesh/share.go

Co-authored-by: Giuseppe Lo Presti <giuseppe.lopresti@cern.ch>

* Update internal/http/services/sciencemesh/sciencemesh.go

Co-authored-by: Giuseppe Lo Presti <giuseppe.lopresti@cern.ch>

* removed old code

* fix import names

---------

Co-authored-by: Giuseppe Lo Presti <giuseppe.lopresti@cern.ch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

/ocm/send endpoint disappeared from Reva
3 participants